  <div class="nav_bar"><?php $breadcrumb->trail(" > ");?></div>
   <div class="main_box">
   <!--左栏开始-->
    <div id="mainContent_2">
    	
        <div class="shop_title">
        	<h3 class="shop_title_text">
        		<?php 
        			secho( $shopName  ); 
        			if($status==2||$status==5)
        			{
        				echo '【待审核】';
        			}
        		?>
        	</h3>
            <ul class="shop_score">
            <div class="shop_rank"><span class="score<?php echo getScoreClass($score); ?>"></span></div>
            	<li class="rank_score_01"><?php echo $reality; ?></li>
                <li class="rank_score_02"><?php echo $service; ?></li>
                <li class="rank_score_03"><?php echo $velocity; ?></li>
                <li class="rank_score_04"><?php echo $rate; ?></li>
            </ul>
		<input type="button" class="btn_2 btn_more" value="添加商城商品" onClick="location.href='<?php echo edp_href_link(PAGENAME_ADD_PRODUCT,"sid=$sid"); ?>';"/>
	    </div>
        <!--************************************-->
        <div class="shop_info">
        	<div class="shop_info_01"></div>
        	<div class="shop_info_021">
        	<span class="item_list_pic_mall" ><img src="<?php echo $logoUrl; ?>" /></span>
           	  <p>
           	  <span class="strong">名称：</span><?php secho( $shopName  ); ?><br />
           	  <span class="strong">分类：</span> 
				<?php
				
						foreach( $scidArr as $key=>$value  ) {
							
							echo '<a class="mall_a" href="'.edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,'category='.$value.'&q=').'">'.$shopCategoryDAO->GetShopCategoryName($value).'</a>   ';
						  
						}
				?>			  
			  <br />

              <span class="strong">商户简介：</span> <a id="sToogle" href="#"><span>[展开]</span></a>

		 <div id="shopDes"><?php echo  $description ; ?></div>
 
              </p>
            
		<div class="main_oper_btns">
		   <a href="javascript:$('#ar')[0].scrollIntoView();" >
		 		<input type="button" class="btn_add_review" value="" onclick="$('#ar')[0].scrollIntoView();"/>
		 	</a>		
			<a onclick="go_shopping('<?php echo $commissionURL; ?>')" href="javascript:void(0);">
				<input type="button" class="btn_visit_mall" value="" />
			</a>
		</div>
              <ul class="oper_btns">
                  <li><a href="<?php echo edp_href_link(PAGENAME_PRODUCT_SUMMARY,"sid=".$sid); ?>">查看商城商品</a></li> 
                  <li><a href="#" onclick="popupCollectShop('<?php echo $sid; ?>')">收藏商城</a></li>
				  <li><a href="#" onclick="popupReportWindow('1','<?php echo $sid; ?>')" >报错</a></li>
              </ul>
            
            <div class="shop_detail">
                <ul>   	
				<?php
				if($payMethodArr)
				{
					echo '<li class="strong">付款方式：</li> ';
					foreach( $payMethodArr as $item  ) {
						echo "<li>".$item['method_name']."</li>";
					}
				}
				?>
                </ul>
                <ul>           	
				<?php
				if($featureArr)
				{
					echo '<li class="strong">特色：</li>';
					foreach( $featureArr as $item  ) {
						echo "<li>".$item['feature_name']."</li>";
					}
				}
				?>
                </ul>
                <ul>
				<?php
				if($tagArr)
				{
					echo '<li class="strong">标签：</li>';
					foreach( $tagArr as $key=>$value  ) {
						echo '<li><a href="'.edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,'q='.$value).'">'.$value."</a></li>";
					}
				}
				?>
                    <!-- <li class="strong"><a href="#">查看所有</a></li>   --> 
                </ul>
               
            </div>
            <div class="shop_date">
			<?php
				if($createUserID!=='0') {
					
					echo '<a href="'.edp_href_link(PAGENAME_USER_INFO,'uid='.$createUserID).'">'.$userDAO->GetUserNameByID($createUserID)."</a>";
					echo '&nbsp;@'.$createTime.'&nbsp;添加商城&nbsp;';
				}
				if($modifyUserID!=='0') {
					echo '<a href="'.edp_href_link(PAGENAME_USER_INFO,'uid='.$modifyUserID).'">'.$userDAO->GetUserNameByID($modifyUserID)."</a>";
					echo '&nbsp;@'.$modifyTime.'&nbsp;更新&nbsp;';
				}
				if($firstUserID!=='0') {
					echo '<a href="'.edp_href_link(PAGENAME_USER_INFO,'uid='.$firstUserID).'">'.$userDAO->GetUserNameByID($firstUserID)."</a>";
					echo '&nbsp;@'.$firstTime.'&nbsp;第一个点评&nbsp;';
				}
			?>
            </div>
            
			<div class="shop_date">
<!-- Baidu Button BEGIN -->
<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
<a class="bds_qzone"></a>
<a class="bds_tsina"></a>
<a class="bds_tqq"></a>
<a class="bds_renren"></a>
<span class="bds_more">更多</span>
<a class="shareCount"></a>
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6487499" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->
				<a style="cursor: pointer;" href="<?php echo edp_href_link(PAGENAME_MODIFY_SHOP,'sid='.$sid); ?>">我要更新店铺信息</a> <font color="red">New!</font> 
			</div>   
			            
        </div>
        <div class="shop_info_03"></div></div>
    
<div id=collectShopBox style="display:none;cursor:default;" class="popup"></div>

<div id=addErrorReportBox style="display:none;cursor:default;" class="popup"></div>

<div id=flowerAndEggBox style="display:none;cursor:default;" class="popup"></div>        
